package jm.java.bytecode;

/**
 * @Description 字节码——展示synchronized
 * @date 2022/3/28 11:42
 */
public class ShowSynchronized {
    public static void main(String[] args) {
        Object lock = new Object();
        synchronized (lock) {
            System.out.println("ok");
        }
    }
}
